package com.dyit.springcloud.hospital.plan.service.impl;

import com.dyit.springcloud.hospital.domain.entity.AppointPlan;
import com.dyit.springcloud.hospital.plan.dao.IApDao;
import com.dyit.springcloud.hospital.plan.service.IApService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class ApServiceImpl implements IApService {

    @Autowired
    private IApDao iApDao;

    @Override
    public List<AppointPlan> findAll() {
        return iApDao.findAll();
    }
}
